$OpenBSD: patch-qt5_src_Makefile_in,v 1.4 2016/12/17 01:20:10 kili Exp $
Reorder linking to make sure libestdc++ is picked up earlier than libstdc++.
--- qt5/src/Makefile.in.orig	Thu Dec 15 23:36:31 2016
+++ qt5/src/Makefile.in	Fri Dec 16 14:16:48 2016
@@ -521,8 +521,8 @@ libpoppler_qt5_la_CXXFLAGS = \
 	-Dpoppler_qt5_EXPORTS
 
 libpoppler_qt5_la_LIBADD = \
-	$(top_builddir)/poppler/libpoppler.la	\
-	$(POPPLER_QT5_LIBS)
+	$(POPPLER_QT5_LIBS)			\
+	$(top_builddir)/poppler/libpoppler.la
 
 libpoppler_qt5_la_LDFLAGS = \
 	-version-info 9:0:8			\
